Fatal error: Uncaught Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1<br />Error No: 1064<br />SELECT p.product_id,p.sku,ps.stock,s.name_storage,s.id_storage FROM `1c_mart_product_stock` as ps INNER JOIN `1c_mart_storage` as s ON(ps.id_storage=s.id_storage) INNER JOIN `oc_product` as p ON(p.product_id=ps.id_product) WHERE ps.id_storage IS NOT NULL AND p.product_id= in /var/www/user469518/data/www/lotolex.ru/system/library/db/mysqli.php:50 Stack trace: #0 /var/www/user469518/data/www/lotolex.ru/system/storage/modification/system/library/db.php(55): DB\MySQLi->query('SELECT p.produc...') #1 /var/www/user469518/data/www/lotolex.ru/catalog/model/stock/stock.php(27): DB->query('SELECT p.produc...') #2 /var/www/user469518/data/www/lotolex.ru/system/storage/modification/system/engine/loader.php(256): ModelStockStock->getStoragesByProduct(NULL) #3 /var/www/user469518/data/www/lotolex.ru/system/engine/proxy.php(47 in /var/www/user469518/data/www/lotolex.ru/system/library/db/mysqli.php on line 50